{% extends 'app01/base.html' %}
{% load static %}
{% block sub_header %}用例报告{% endblock sub_header %}
{% block search %}{% endblock %}
{% block active_new_page %}{% endblock %}
{% block active_report %} class="active"{% endblock %}
{% block active_case_manage %}{% endblock %}
{% block table %}
    <div class="container-fluid">
        <div style="padding-left: 2px; padding-right: 2px">
            <iframe src="{% url 'caseReportManage:echart_1' %}" frameborder="0"
                    style="width: 450px; height: 290px;"></iframe>
            <iframe src="{% url 'caseReportManage:echart_2' %}" frameborder="0"
                    style="width: 450px; height: 290px; margin-left: 40px"></iframe>
        </div>
    </div>
    <table class="table table-striped table-bordered table-responsive">
        <thead>
        <tr>
            <th style="width: 10px"><input type="checkbox"></th>
            <th style="width: 50px">序号</th>
            <th nowrap="nowrap">项目名称</th>
            <th nowrap="nowrap">所属BU</th>
            <th nowrap="nowrap">用例数</th>
            {#            <th nowrap="nowrap">耗时</th>#}
            <th nowrap="nowrap">备注</th>
        </tr>
        </thead>
        <tbody>
        {% if pages %}
            {% for element in pages %}
                <tr style="font-size: 10px">
                    <td><input type="checkbox" value="{{ element.id }}"></td>
                    <td>{{ forloop.counter }}</td>
                    <td>{{ element.project_name }}</td>
                    <td>{{ element.BU }}</td>
                    <td>{{ element.cases_set.all.count }}</td>
                    <td>{{ element.remarks }}</td>

                </tr>
            {% endfor %}
        {% else %}
            <tr style="font-size: 10px">
                "暂无数据"
            </tr>
        {% endif %}
        </tbody>
    </table>

{% endblock %}
{% block button %}{% endblock %}
{% block back_url %}{% url 'caseReportManage:case_report_manage' %}{% endblock %}
{% block search_url %}{% endblock %}
{% block create_case_url %}{% endblock %}
{% block page_url %}{% url 'caseReportManage:case_report_manage' %}{% endblock %}
{% block page_url_1 %}{% url 'caseReportManage:case_report_manage' %}{% endblock %}
{% block page_url_2 %}{% url 'caseReportManage:case_report_manage' %}{% endblock %}
{% block page_url_3 %}{% url 'caseReportManage:case_report_manage' %}{% endblock %}
{% block case_total %}{% endblock %}
{% block first_page %}{% url 'caseReportManage:case_report_manage' %}{% endblock %}
{% block last_page %}{% url 'caseReportManage:case_report_manage' %}{% endblock %}
{% block edit_url %}{% url 'caseReportManage:edit_report' %}{% endblock %}

